package org.springblade.modules.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.admin.dto.TaskPlanPageQueryDTO;
import org.springblade.modules.admin.entity.MaintainTemplateContent;
import org.springblade.modules.admin.entity.MaintainTemplateContentScoreDimension;
import org.springblade.modules.admin.vo.TemplateContentDetailVO;
import org.springblade.modules.admin.vo.TemplateContentPageVO;

import java.util.List;

public interface MaintainTemplateContentService extends BaseService<MaintainTemplateContent> {

    IPage<TemplateContentPageVO> selectTemplateContentPage(TaskPlanPageQueryDTO pageQueryDTO, IPage<TemplateContentPageVO> page);

    Boolean saveTemplateContent(MaintainTemplateContent templateContent);

	TemplateContentDetailVO selectTemplateContentDetail(Long id);

	Boolean updateTemplateContent(Long id, MaintainTemplateContent templateContent);

	Boolean copy(Long id);

	Boolean removeTemplateContent(List<Long> templateContentIds);

    Boolean copyBach(List<MaintainTemplateContent> contentList);

	Boolean updateBachScore(Integer partScore, List<Long> contentIds);

}
